
public class TestVar {
    public static void main(String args[]){
        Task task = new Task(10);
        for (int i = 0; i < 10; i++) {
            Thread t = new Thread(task);
            t.start();
        }
    }

}
